home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.1.5 / res / ua.css < prev    next >
Cascading Style Sheet File  |  2009-11-08  |  7KB  |  249 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is mozilla.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * Netscape Communications Corporation.
  18.  * Portions created by the Initial Developer are Copyright (C) 1998
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *
  23.  * Alternatively, the contents of this file may be used under the terms of
  24.  * either of the GNU General Public License Version 2 or later (the "GPL"),
  25.  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.  * in which case the provisions of the GPL or the LGPL are applicable instead
  27.  * of those above. If you wish to allow use of your version of this file only
  28.  * under the terms of either the GPL or the LGPL, and not to allow others to
  29.  * use your version of this file under the terms of the MPL, indicate your
  30.  * decision by deleting the provisions above and replace them with the notice
  31.  * and other provisions required by the GPL or the LGPL. If you do not delete
  32.  * the provisions above, a recipient may use your version of this file under
  33.  * the terms of any one of the MPL, the GPL or the LGPL.
  34.  *
  35.  * ***** END LICENSE BLOCK ***** */
  36.  
  37. @import url(resource://gre/res/html.css);
  38. @import url(chrome://global/content/xul.css);
  39.  
  40. @namespace parsererror url(http://www.mozilla.org/newlayout/xml/parsererror.xml);
  41.  
  42. /* magic -- some of these rules are important to keep pages from overriding
  43.             them
  44. */
  45.  
  46. /* Tables */
  47.  
  48. *|*::-moz-table {
  49.   display: table !important;
  50.   -moz-box-sizing: border-box; /* XXX do we really want this? */
  51. }
  52.  
  53. *|*::-moz-inline-table {
  54.   display: inline-table !important;
  55.   -moz-box-sizing: border-box; /* XXX do we really want this? */
  56. }
  57.  
  58. *|*::-moz-table-outer {
  59.   display: inherit !important; /* table or inline-table */
  60.   margin: 0 ! important;
  61.   padding: 0 ! important;
  62.   border: none ! important;
  63.   float: inherit;
  64.   clear: inherit;
  65.   position: inherit;
  66.   top: inherit;
  67.   right: inherit;
  68.   bottom: inherit;
  69.   left: inherit;
  70.   z-index: inherit;
  71.   page-break-before: inherit;
  72.   page-break-after: inherit;
  73.   vertical-align: inherit; /* needed for inline-table */
  74.   line-height: inherit; /* needed for vertical-align on inline-table */
  75. }
  76.  
  77. *|*::-moz-table-row {
  78.   display: table-row !important;
  79. }
  80.  
  81. /* The ::-moz-table-column pseudo-element is for extra columns at the end 
  82.    of a table. */
  83. *|*::-moz-table-column {
  84.   display: table-column !important;
  85. }
  86.  
  87. *|*::-moz-table-column-group {
  88.   display: table-column-group !important;
  89. }
  90.  
  91. *|*::-moz-table-row-group {
  92.   display: table-row-group !important;
  93. }
  94.  
  95. *|*::-moz-table-cell {
  96.   display: table-cell !important;
  97.   white-space: inherit;
  98. }
  99.  
  100. /* Lists */
  101.  
  102. *|*::-moz-list-bullet, *|*::-moz-list-number {
  103.   display: inline;
  104.   vertical-align: baseline;
  105.   -moz-margin-end: 8px;
  106. }
  107.  
  108. /* Links */
  109.  
  110. *|*:-moz-any-link {
  111.   cursor: pointer;
  112. }
  113.  
  114. *|*:-moz-any-link:focus {
  115.   /* Don't specify the outline-color, we should always use initial value. */
  116.   outline: 1px dotted;
  117. }
  118.  
  119. /* Miscellaneous */
  120.  
  121. *|*::-moz-anonymous-block, *|*::-moz-cell-content {
  122.   display: block !important;
  123.   position: static !important;
  124. }
  125.  
  126. *|*::-moz-anonymous-block, *|*::-moz-anonymous-positioned-block {
  127.   /* we currently inherit from the inline that is split */
  128.   outline: inherit;
  129.   outline-offset: inherit;
  130.   clip-path: inherit;
  131.   filter: inherit;
  132.   mask: inherit;
  133.   -moz-box-ordinal-group: inherit !important;
  134. }
  135.  
  136. *|*::-moz-xul-anonymous-block {
  137.   display: block ! important;
  138.   position: static ! important;
  139.   float: none ! important;
  140.   -moz-box-ordinal-group: inherit !important;
  141. }
  142.  
  143. *|*::-moz-scrolled-content, *|*::-moz-scrolled-canvas,
  144. *|*::-moz-scrolled-page-sequence {
  145.   /* e.g., text inputs, select boxes */
  146.   padding: inherit;
  147.   /* The display doesn't affect the kind of frame constructed here.  This just
  148.      affects auto-width sizing of the block we create. */
  149.   display: block;
  150.   -moz-box-orient: inherit;
  151.   /* make unicode-bidi inherit, otherwise it has no effect on text inputs and
  152.      blocks with overflow: scroll; */
  153.   unicode-bidi: inherit;
  154.   -moz-column-count: inherit;
  155.   -moz-column-width: inherit;
  156.   -moz-column-gap: inherit;
  157.   /* Do not change these. nsCSSFrameConstructor depends on them to create a good
  158.      frame tree. */
  159.   position: static !important;
  160.   float: none !important;
  161. }
  162.  
  163. *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas, *|*::-moz-scrolled-canvas {
  164.   display: block !important;
  165.   background-color: inherit;
  166. }
  167.  
  168. *|*::-moz-viewport-scroll {
  169.   overflow: auto;
  170. }
  171.  
  172. *|*::-moz-column-content { 
  173.   /* the column boxes inside a column-flowed block */
  174.   /* make unicode-bidi inherit, otherwise it has no effect on column boxes */
  175.   unicode-bidi: inherit;
  176.   /* inherit the outer frame's display, otherwise we turn into an inline */
  177.   display: inherit !important;
  178.   /* Carry through our parent's height so that %-height children get
  179.   their heights set */
  180.   height: 100%;
  181. }
  182.  
  183. *|*::-moz-page, *|*::-moz-page-sequence, *|*::-moz-scrolled-page-sequence {
  184.   display: block !important;
  185.   background: transparent;
  186. }
  187.  
  188. *|*::-moz-pagecontent {
  189.   display: block !important;
  190. }
  191.  
  192. *|*::-moz-pagebreak {
  193.   display: block !important;
  194. }
  195.  
  196. *|*::-moz-anonymous-positioned-block {
  197.   display: block !important;
  198.   position: relative;
  199.   top: inherit; 
  200.   left: inherit;
  201.   bottom: inherit;
  202.   right: inherit;
  203.   z-index: inherit;
  204.   clip: inherit;
  205.   opacity: inherit;
  206. }
  207.  
  208. /* Printing */
  209.  
  210. @media print {
  211.  
  212.   * {
  213.     cursor: default !important;
  214.   }
  215.  
  216.   *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas,
  217.   *|*::-moz-scrolled-canvas {
  218.     background-color: #737373 !important;
  219.   }
  220.  
  221. }
  222.  
  223. /* XML parse error reporting */
  224.  
  225. parsererror|parsererror {
  226.   display: block;
  227.   font-family: sans-serif;
  228.   font-weight: bold;
  229.   white-space: pre;
  230.   margin: 1em;
  231.   padding: 1em;
  232.   border-width: thin;
  233.   border-style: inset;
  234.   border-color: red;
  235.   font-size: 14pt;
  236.   background-color: lightyellow;
  237. }
  238.  
  239. parsererror|sourcetext {
  240.   display: block;
  241.   white-space: pre;
  242.   font-family: -moz-fixed;
  243.   margin-top: 2em;
  244.   margin-bottom: 1em;
  245.   color: red;
  246.   font-weight: bold;
  247.   font-size: 12pt;
  248. }
  249.